//
//  main.swift
//  Car
//
//  Created by mac on 2017/10/30.
//  Copyright © 2017年 RRC. All rights reserved.
//

import Foundation

print("Hello, World!")

//var benz = BenzModel()
//var sequence = Array<String>()
//sequence.append("engine boom")
//sequence.append("start")
//sequence.append("stop")
//benz.setSequence(sequence: sequence)
//benz.run()
//
//print("########################################")
//
//var benzArray = Array<String>()
//benzArray.append("engine boom")
//benzArray.append("start")
//benzArray.append("stop")
//
//var benzBuilder = BenzBuilder()
//benzBuilder.setSequence(sequence: benzArray)
//let benz1 = benzBuilder.getCarMOdel() as! BenzModel
//benz1.run()


let director = Director()
for _ in 0..<10 {
    director.getBenzModel().run()
}
